package com.duoduo.admin.api.dto;

import java.time.LocalDateTime;

import com.duoduo.devtools.generator.CodeGenerator;

import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;

@Data
@Tag(name="系统客户端表")
public class SysOauthClientDetailsDTO {
	@Schema(description="客户端ID")
	private String  clientId;
	@Schema(description="资源列表")
	private String resourceIds;
	@Schema(description="客户端密钥")
	private String clientSecret;
	@Schema(description="域")
	private String scope;
	@Schema(description="认证类型")
	private String authorizedGrantTypes;
	@Schema(description="重定向地址")
	private String webServerRedirectUri;
	@Schema(description="角色列表")
	private String authorities;
	@Schema(description="token 有效期")
	private Integer accessTokenValidity;
	@Schema(description="刷新令牌有效期")
	private Integer refreshTokenValidity;
	@Schema(description="令牌扩展字段JSON")
	private Boolean additionalInformation;
	@Schema(description="是否自动放行")
	private String autoapprove;
	
	
	@Schema(description="创建人")
	private String createBy;
	@Schema(description="创建时间")
	private LocalDateTime createTime;
	@Schema(description="修改人")
	private String updateBy;
	@Schema(description="更新时间")
	private LocalDateTime updateTime;
	
	public static void main(String[] args) {
		CodeGenerator codeGenerator = new CodeGenerator(SysOauthClientDetailsDTO.class);
		codeGenerator.generateClass();
	}
}
